<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="tp_page" content="3.0">
<title>注册1号店</title>
<link href="__PUBLIC__/css/register-2.css" rel="stylesheet" type="text/css">
<script src="__STATIC__/Js/jquery-1.7.2.min.js"></script>
<script src="__PUBLIC__/js/register.js" type="text/javascript"></script>

<link id="skinlayercss" href="__PUBLIC__/css/layer.css" rel="stylesheet" type="text/css"></head>

<script type="text/javascript" src="__STATIC__/js/js.js"></script>
<link rel="stylesheet" type="text/css" href="__STATIC__/hdjs/hdjs.css"/>
<script src="__STATIC__/hdjs/hdjs.min.js" type="text/javascript" charset="utf-8"></script>

<body>
	    
  <div class="regist_header clearfix">
	<div class="wrap">
        <a href="__ROOT__" class="logo"><img src="__PUBLIC__/images/loginlogo.jpg" alt="1号店" height="55"></a>
        <div class="regist_header_right clearfix">
        
            <div class="help_wrap">
                <a class="hd_menu" href=""></s>帮助中心</a>
                <div class="hd_menu_list">
                    <ul>
                        <li><a href="">包裹跟踪</a></li>
                        <li><a href="">常见问题</a></li>
                        <li><a href="">在线退换货</a></li>
                        <li><a href="">在线投诉</a></li>
                        <li><a href="">配送范围</a></li>
                    </ul>
                </div>
            </div>
             <if value='!isset($hd.session.username)'>
          <span class="fr">您好，欢迎光临1号店！ <a href="{|U:'User/login'}" class="blue_link">请登录</a></span>
           <else />
   <span style="">&nbsp;<span>{$hd.session.username},</span><a href="{|U:'User/out'}">退出</a></span>
    </if>
        </div>
    </div>
  </div>
	
	<script type="text/javascript" src="__PUBLIC__/js/jquery.js"></script>
  
<div class="regist_wrap">
    <div class="mod_regist_wrap">
    	<div class="regist_border clearfix">
        		
	        	
	            <div class="regist_tab">
	                <ul class="clearfix">
	                  <!--   <li class="cur"><i class="r_mobile"></i><span>手机注册</span></li> -->
	                    <li class="cur"><i class="r_mail"></i><span>邮箱注册</span></li>
	                </ul>
	                <p class="cur_tab"><em></em></p>
	            </div>
	            
	            
	      
	            
	            <script type="text/javascript">
	$(function(){
		//定义检测用户名是否存在的ajax请求地址
		var checkUser = "{|U:'User/checkUser'}";
		
		$('#reg').validate({
			username : {
				rule:{
					required:true,
					ajax:{url:checkUser}
				},
				// error:{
				// 	required:'用户名必填',
				// },
				success:'ok',
				// message:'请填写用户名'
			},
		
		
		})
	})
</script>
	            <div class="regist_form email_register_form none" style="display:block;">
	            <form action="{|U:'User/register'}" method="post" name="form2" id="reg">
	                <ul class="clearfix">
	                    <li>
	                        <div class="form_item">
	                            <label>用户名：</label>
	                            <input class="ipt gay_text ipt_username" value="请输入用户名" id="email" name="username" autocomplete="off" maxlength="100" onkeyup="showoff('email_desc');" onblur="checkEmailOnBlur();" onfocus="hideOtherTips('email')" ;="" type="text">
	                        </div>
	                        <div class="tips_box regist_tips" id="email_tip">
	                            <u></u>
	                           	 请填写正确的用户名，以便 接收订单通知，找回密码等。
	                        </div>
	                        <div class="tips_box regist_tips_error" id="email_error"></div>
	                        <div class="tips_box username_ok" id="email_desc"></div>
	                    </li>
	                    <li>
	                        <div class="form_item">
	                            <label>设置密码：</label>
	                            <input class="ipt gay_text" name="pwd" value="6-20个大小写英文字母、符号或数字" type="text">
	                            <input class="ipt password none" id="password_email" name="user.password" oncopy="return false;" oncut="return false;" onpaste="return false;" onkeyup="changePassStrong('password_email');" type="password">
	                        </div>
	                        <div class="tips_box regist_tips_error" id="password_email_error">
	                        </div>
	                        <div class="tips_box paswd_strength" id="password_email_Level">
	                            <i style="transform: rotate(0deg);" id="arrow_email"></i>
	                        </div>
	                    </li>
	                    <li>
	                        <div class="form_item">
	                            <label>确认密码：</label>
	                            <input class="ipt gay_text" name="pwd" value="请再次输入密码" type="text">
	                            <input style="background-color: rgb(192, 193, 196);" readonly="readonly" class="ipt password none" id="password_email2" name="password2" onblur="checkPassword2OnBlur('password_email');" oncopy="return false;" oncut="return false;" onpaste="return false;" onfocus="hideOtherTips('password_email2')" onkeyup="showoff('password_email2_desc');showoff('password_email2_error')" type="password">
	                        	<div class="tips_box regist_tips_error" id="password_email2_error">
	                        	</div>
								<div class="tips_box username_ok" id="password_email2_desc"></div>
	                        </div>
	                    </li>
	                    
	                    
	                    <li class="phone_num_wrap">
	                        <div class="form_item">
	                            <label>手机号：</label>
	                            <input class="ipt gay_text phone_num" value="请输入手机号" type="text" name="tel">
	                        </div>
	                        <div class="tips_box regist_tips_error" id="ephoneDesc">
	                        	<u></u>该手机号已存在，<a href="#" class="blue_link">登录</a>
	                        </div>
	                    </li>
	                    <script type="text/javascript">

	$(function(){
		var imgSrc = $('.verify_code_box #pic').attr('src');
		$('.change_code').click(function(){
         
        $('.verify_code_box #pic').attr('src',imgSrc + '&' + Math.random());
        
		})
	}) 
</script>
	                    <li class="verify_code cur_right img_code">
	                        <div class="form_item">
	                            <label>验证码：</label>
	                            <input id="validCodeEmail" class="ipt ipt_code gay_text" tabindex="1" type="text" name="code" >
	                            <!--验证码正确-->
	                            <span class="code_right" tabindex="-1" style="display: none;"></span>
	                            <!--验证码错误-->
	                            <span class="code_wrong" tabindex="-1"></span>
	                        </div>
	                        <span class="verify_code_box" tabindex="-1"><img src="{|U:'User/code'}" name="  valid_code_pic" tabindex="-1" id="pic" onclick="this.src=this.src+'?'+Math.random()"></span>
	                        <i class="change_code" tabindex="-1">换一张</i>
	                    </li>
	                 
	                 
	                    <li class="service_agreement">点击注册，表示您同意1号店
	                    	<a href="http://cms.yhd.com/cms/view.do?topicId=24110" class="blue_link" target="_blank">《服务协议》</a>
	                    </li>
	                    <li class="regist_btn">
	                   
	                       <input type="submit" value="注册" class="btn" />
	                    </li>
	                </ul>
	            </div>
            </div>
            
        </div>
	</div>
</div>


</script>
<div class="tips">错误信息<br>文字文字</div>


	<div id="simplefooter"><a href="http://www.miibeian.gov.cn/" target="_blank">沪ICP备13044278号</a>|<a>合字B1.B2-20130004</a>|<a href="http://d7.yihaodianimg.com/N01/M04/14/0D/CgQCr1KgLjGAM5w3AAQiJTyDkdw48000.jpg" data-ref="YHD_Footer_Licence" target="_blank">营业执照</a><p>Copyright © 1号店网上超市 2007-2014，All Rights Reserved</p></div><div>

<span style="color: #FFFFFF">1376515</span>
</div>    <script type="text/javascript" src="__PUBLIC__/js/global_tracker.js"></script>

<script type="text/javascript">
var _path = "https://passport.yhd.com/front-passport/passport/__PUBLIC__/css/";
var _imgPath = "https://passport.yhd.com/front-passport/passport/__PUBLIC__/images/";
</script>
<script src="__PUBLIC__/js/layer-lib.js" type="text/javascript"></script>

<script src="__PUBLIC__/js/layer.js" type="text/javascript"></script>

<script type="text/javascript">
var showValidCodeWhenRegistByMobile = "1"; 
jsRegistFed.loadFunRegist();
$(document).ready(function(){
	onload();
	loadImageUrl("2","Passport_Register_Ad_Click");
	bindEvent();
	refresh_valid_code(window, email_captcha_callback);
});
	jsRegistFed.mobileRecvCodeLeft = 0;
	jsRegistFed.mobileValidCodeLeft = -350;
	jsRegistFed.showMobileValidCode();
</script>
</body></html>